﻿@{
    ViewBag.Title = "详情信息";
    var id = Model != null ? Model.ID : 0;
}
@using ZBJF.Warranty.Common.Enums.InsuranceWarranty
@using ZBJF.Warranty.WebProvider
@using EnumHelper = ZBJF.Warranty.Common.Common.EnumHelper
@using ZBJF.Warranty.BLL;
@model ZBJF.Warranty.Model.Udesk_CallRecord
@Scripts.Render("~/bundles/StarRaty")
@Styles.Render("~/Content/StarRaty")
<ul id="myTab" class="nav nav-tabs">
    <li class="active"><a href="#editInfo" data-toggle="tab">详情信息</a></li>
</ul>
<div id="myTabContent" class="tab-content">
    <div class="tab-pane  fade in active" id="editInfo">
        @Html.AntiForgeryToken()
        @Html.HiddenFor(m => m.ID)
        <h4>客户信息</h4>
        <table class="table table-responsive table-bordered table-hover">
            <tr>
                <th class="w200">客户名称：</th>
                <td>@Model.User_name</td>
                <th class="w200">主叫号码：</th>
                <td>@Model.Call_number</td>
            </tr>
            <tr>
                <th class="w200">号码所属地：</th>
                <td>@Model.Mobile_area</td>
                <th class="w200">通话类型：</th>
                <td>@Model.Call_type</td>
            </tr>
            <tr>
                <th>排队状态：</th>
                <td>@Model.Queue_type</td>
                <th>排队时间：</th>
                <td>@Model.Queue_time</td>
            </tr>
        </table>
        <h4>客服信息</h4>
        <table class="table table-responsive table-bordered table-hover">
            <tr>
                <th class="w200">客服姓名</th>
                <td>@Model.Agent_nick_name</td>
                <th class="w200">设备状态：</th>
                <td>@Model.Device_info</td>
            </tr>
            <tr>
                <th class="w200">通话开始时间：</th>
                <td>@Model.Call_start_at</td>
                <th>通话时长：</th>
                <td> @Model.Call_time</td>
            </tr>
            <tr>
                <th class="w200">通话来源：</th>
                <td>@Model.Call_type</td>
                <th>通话结果：</th>
                <td> @Model.Call_result</td>
            </tr>
            <tr>
                <th>客户评价：</th>
                <td>
                    @Model.Satisfaction
                </td>
                <th>客户留言：</th>
                <td>@Model.Leave_message</td>
            </tr>
        </table>
    </div>
    <div class="form-actions" style="text-align: center;">
        <input id="btnAuditAndPass" class="btn btn-primary Edit-R" type="submit" value="关闭" onclick="javascript:history.go(-1)">
    </div>
</div>